const colluser=require('./coll/user')
const Router = require('koa2-router');
const classcoll=require('./coll/class')
const router = new Router();

router.get('/',colluser.getuser)
router.post('/user',colluser.geteeee)
router.get('/user/getInto/:name',colluser.geteeee)



router.get('/class/getclass',classcoll.getclass)
router.post('/class/edclass',classcoll.edclass)
//删除
router.delete('/class/delclass/:id',classcoll.delclass)
router.post('/class/addclass',classcoll.addclass)



module.exports=router